﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
using System.Collections;
using PictureManager.Core;
using System.Web.Script.Serialization;
namespace PictureManager.Web
{
    public partial class AjaxHelper : System.Web.UI.Page
    {
        [WebMethod]
        public static String LoadPictures()
        {
            JavaScriptSerializer oSerializer = new JavaScriptSerializer();
            return oSerializer.Serialize(PictureItem.PictureList);
        }
    }
}
